<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/admintop.jsp" %>
<jsp:directive.page import="com.lg.system.CTurnPage" />
<%@ include file="/jsp/jscommom.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
	function create(url){
	  window.open(url,"_blank");
	}
	function editActivity(url){
	  window.open(url,"_blank");
	}
	</script>
	<%
		CTurnPage mPage = new CTurnPage();
		mPage = (CTurnPage) request.getAttribute("page");
	%>
	<body>
		<html:form action="/com/corpor/manage/applybooth" method="post">
			<html:hidden property="method" />
			<div align="center">
				<table width="97%" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="5">
							活动列表
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1">
							招聘地点
						</td>
						<td class="mtdtitle1">
							现场招聘时间
						</td>
						<td class="mtdtitle1">
							创建人
						</td>
						<td class="mtdtitle1">
							创建时间
						</td>
						<td class="mtdtitle1">
							状态
						</td>
					</tr>

					<logic:empty name="page" property="sqlList">
						<tr>
							<td class="mtdtextcenterwrite" colspan="5">
								没有可显示的内容！
								<br>
							</td>
						</tr>
					</logic:empty>
					<logic:notEmpty name="page" property="sqlList">
						<logic:iterate type="com.ibatis.po.corpor.TActivity"
							id="activityList" name="page" property="sqlList">
							<tr style="cursor:hand"
								onclick="editActivity('/system/admin/copormanage/editactivity.do?aId=${activityList.id }')">
								<td class="mtdtextcenterwrite">
									${activityList.address}
								</td>
								<td class="mtdtextcenterwrite">
									<bean:write name="activityList" property="showDate"
										format="yyyy-MM-dd" />
								</td>
								<td class="mtdtextcenterwrite">
									${activityList.createPerson}
								</td>
								<td class="mtdtextcenterwrite">
									<bean:write name="activityList" property="createTime"
										format="yyyy-MM-dd HH:mm:ss" />
								</td>
								<td class="mtdtextcenterwrite">
									<logic:equal value="0" name="activityList" property="status">有效</logic:equal>
								</td>
							</tr>
						</logic:iterate>
					</logic:notEmpty>
					<tr>
						<td colspan="5" class="mtdtitle1">
							<table width='100%'>
								<tr>
									<td class="left">
										<%=mPage.getPageInfo()%>
									</td>
									<td class="right">
										<%=mPage.getTurnPageLink()%>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="5">
							<input type="button" class="tbutton"
								onclick="create('/system/admin/copormanage/createactivity.jsp')"
								value="创建" />
						</td>
					</tr>
				</table>
			</div>
		</html:form>

	</body>
</html>
